<app-info-row
  *ngFor="let column of columns[fields.DualMessage]; let rowIndex = index"
  [columns]="column"
  [rowIndex]="rowIndex"
  [ifEdit]="isEdits[fields.DualMessage][rowIndex]"
  (active)="activeItem($event, rowIndex)"
></app-info-row>

<ng-template #tpIsSupportDualMessage let-column="column">
  <nz-radio-group [ngModel]="column.value" (ngModelChange)="switchIsSupportDualMessage($event)">
    <label nz-radio nzValue="0">{{'BIZ.ACQUIRER.ACQUIRER_FUNC.SINGLE_MESSAGE' | i18n}}</label>
    <label nz-radio nzValue="1">{{'BIZ.ACQUIRER.ACQUIRER_FUNC.DUAL_MESSAGE' | i18n}}</label>
  </nz-radio-group>
</ng-template>

<ng-template #dualOperate let-rowIndex="rowIndex">
  <app-rest-edit
    [editing]="isEdits[fields.DualMessage][rowIndex]"
    (edit)="edit(fields.DualMessage, rowIndex)"
    (cancel)="cancel()"
    (submit)="submit()"
  ></app-rest-edit>
</ng-template>